package org.jet.emall.rbac.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-05 19:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AdminRoleVO对象", description="后台角色")
public class AdminRoleVO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "角色id")
    private Integer id;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色描述")
    private String info;

    @ApiModelProperty(value = "逻辑删除字段: 1-已删除; 0-未删除")
    private Byte deleted;

    @ApiModelProperty(value = "最后修改时间")
    private LocalDateTime modifiedTime;

}

